package org.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.demo.entity.Community;
import org.demo.entity.Contract;
import org.demo.entity.ContractDto;
import org.demo.entity.PageBean;

import java.util.List;

public interface IContractService extends IService<Contract> {
    void add(ContractDto contract);

    List<Contract> list (Contract contract);
    List<ContractDto> Financiallist (Contract contract);

    void update(Contract contract);

    void delete(String id);

    PageBean<ContractDto> Pagelist(Integer pageNum, Integer pageSize, Contract contract);
}
